const Order = resolve => require(['@/pages/order/order.vue'], resolve);
const SaleOrderDetails = resolve => require(['@/pages/order/saleOrderDetails.vue'], resolve);
const SaleOrderTrack = resolve => require(['@/pages/order/saleOrderTrack.vue'], resolve);
const MessageCenter = resolve => require(['@/pages/message/messageCenter.vue'], resolve);
const SalesPromotion = resolve => require(['@/pages/message/salesPromotion.vue'], resolve);
const OrderCenter = resolve => require(['@/pages/message/orderCenter.vue'], resolve);


export default [
  {
    path: '/order',
    name: 'Order',
    component: Order,
  },
  {
    path:'/order/saleOrderDetails',
    name: 'SaleOrderDetails',
    component:SaleOrderDetails
  },
  {
    path:'/order/saleOrderTrack',
    name: 'SaleOrderTrack',
    component:SaleOrderTrack
  },
  {
    path:'/message/messageCenter',
    name: 'MessageCenter',
    component:MessageCenter
  },
  {
    path:'/message/salesPromotion',
    name: 'SalesPromotion',
    component:SalesPromotion
  },
  {
    path:'/message/orderCenter',
    name: 'OrderCenter',
    component:OrderCenter
  }
]
